package com.wenyu.wenyuyuedu.index;

import com.wenyu.wenyuyuedu.base.Entity;

import java.util.List;

/**
 * Created by Administrator on 2017/3/14.
 */

public class UserBean extends Entity {

    /**
     * code : 1
     * msg : 操作成功！
     * info : [{"uid":"185","nickname":"王允","path":"http://iwenyu.cn/public/images/default_avatar.jpg"},{"uid":"186","nickname":"管理","path":"http://iwenyu.cn/public/images/coffee.png"},{"uid":"190","nickname":"Google","path":"http://iwenyu.cnhttp://wx.qlogo.cn/mmopen/1OZJo6icRJQ69FBJh5mOmBHicN7WgFC7quKyEOBd5DZIic6iaSrW7n3l7Et4XQcZcLYD86Tce5Qcp5jL9Qh7SqyUPDaIEJYEKYxk/0"},{"uid":"189","nickname":"重生\r\n","path":"http://iwenyu.cnpath.jpg"},{"uid":"188","nickname":"gooles","path":"http://iwenyu.cnpath.jpg"},{"uid":"187","nickname":"goole","path":"http://iwenyu.cn/public/images/coffee.png"},{"uid":"191","nickname":"重生","path":"http://iwenyu.cnhttp://wx.qlogo.cn/mmopen/LIND77SSexibJRegogL8x5dyV3PznEw5fverQNiaOvITB0icREaQqJbwuVaicwibSOD5lNmAD0Xqb72rib1aPSzu4fHPZOBk4AXgnJ/0"},{"uid":"192","nickname":"linkus8","path":"http://iwenyu.cnhttp://wx.qlogo.cn/mmopen/5av8BbWsWq8FZQYHVKb3KKTOHmI351uLL62iagygibMB4iaCmsIJQy4VjfM6ics6jh3TSq7f9xyPm77uOURtE6fk3NXQXmwXiaT6s/0"}]
     */

    private int code;
    private String msg;
    private List<InfoBean> info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<InfoBean> getInfo() {
        return info;
    }

    public void setInfo(List<InfoBean> info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * uid : 185
         * nickname : 王允
         * path : http://iwenyu.cn/public/images/default_avatar.jpg
         */

        private String uid;
        private String nickname;
        private String path;
        private transient boolean checked = false;
        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }
}
